import request from './request'
const baseURL = '/v2'
export function getSchoolResultInfo (params) {
  return request({
    url: baseURL + '/getSchoolResultInfo',
    method: 'get',
    params: params
  })
}

export function getDegreeResult (params) {
  return request({
    url: baseURL + `/getDegreeResult`,
    method: 'post',
    data: params
  })
}

export function getInformation (params) {
  return request({
    url: baseURL + `/classResultPage/getInformation`,
    method: 'get',
    params: params
  })
}

// 获取首页弹窗
export function diaLog () {
  return request({
    url: baseURL + '/home/dialog',
    method: 'get'
  })
}
